‫So now using the migrate post module, you can migrate to another process on the victim.
‫Migration to another process may be needed for a variety of reasons.
‫For example, the services that we are currently injected into may not be so stable or we may need the
‫privileges of a different user.
‫So here I have an interpreter session the command list.
‫The process is running on the victim's system.
‫Process, ID process, name on her path, path of running services, et that get predicament, which
‫means get process ID.
‫Shows the process that we are currently injected in.
‫During process ideas nine six four, which is the ID of SBC host Yuxi Process run by system user.
‫They get uid that short for get user ID shows our current user on the victim's system.
‫That's what we already know system.
‫So let's try to migrate another process which is run by another user.
‫There are some services running with the administrative privileges.
‫I'll try to migrate the process one six two zero now.
‫So it took too long.
‫Yeah, it timed out now we couldn't migrate to another service.
‫The migrant command may crash the interpreter session sometimes, so I'll check the session with the
‫sister infocom in, as I expected.
‫No answer.
‫The session crashed.
‫So I'll try to get an exit from the session, since we already have an exploit with the proper options,
‫we can just type one to exploit the system again.
‫And now we have a new interpretor session.
‫Hopes to see the services running on the victim's system now try to migrate another process to 96 this
‫time.
‫No.
‫Once again, the session crashed.
‫OK, let's try.
‫I'll try four to eight this time.
‫It's OK now, so we migrated to the process four to eight.
‫Let's check the user with get UID.
‫It is administrator.
‫Hmm.
‫So we were the system user before and check the process ID with get the ID and the process is four to
‫eight now.
‫Now, I wonder, can we revert to previous processes with the Rev to self-command?
‫OK, sorry, Rev to Self has another function.
‫So let me show it to you quickly.
‫If you change your privileges without migrating to another process, for example, using the get system
‫command, you can get back to previous privileges with the Revd to self-command.
‫So you get system command, look at the user ID, as you see, we are system user and if we run the
‫rev to self now, the user will be the administrator again.
‫Howzat.